home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / editors / emcs1855 / emcs1855.0 / lisp / dbx.elc < prev    next >
Emacs Compiled Lisp  |  1989-02-16  |  4.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs v18 byte-compiled Lisp data default
99% file data default
100% gt2 Kopftext: '(require (quote shell)) default (weak)
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 72 65 71 75 69 72 | 65 20 28 71 75 6f 74 65 |.(requir|e (quote|
|00000010| 20 73 68 65 6c 6c 29 29 | 0a 0a 28 64 65 66 76 61 | shell))|..(defva|
|00000020| 72 20 64 62 78 2d 74 72 | 61 63 65 2d 66 6c 61 67 |r dbx-tr|ace-flag|
|00000030| 20 6e 69 6c 20 22 5c 0a | 44 62 78 20 74 72 61 63 | nil "\.|Dbx trac|
|00000040| 65 20 73 77 69 74 63 68 | 2e 22 29 0a 0a 28 64 65 |e switch|.")..(de|
|00000050| 66 76 61 72 20 64 62 78 | 2d 70 72 6f 63 65 73 73 |fvar dbx|-process|
|00000060| 20 6e 69 6c 20 22 5c 0a | 54 68 65 20 70 72 6f 63 | nil "\.|The proc|
|00000070| 65 73 73 20 69 6e 20 77 | 68 69 63 68 20 64 62 78 |ess in w|hich dbx|
|00000080| 20 69 73 20 72 75 6e 6e | 69 6e 67 2e 22 29 0a 0a | is runn|ing.")..|
|00000090| 28 64 65 66 76 61 72 20 | 64 62 78 2d 62 72 65 61 |(defvar |dbx-brea|
|000000a0| 6b 2d 70 6f 69 6e 74 20 | 22 73 74 6f 70 70 65 64 |k-point |"stopped|
|000000b0| 20 69 6e 20 2e 2a 20 61 | 74 20 6c 69 6e 65 20 5c | in .* a|t line \|
|000000c0| 5c 28 5b 30 2d 39 5d 2a | 5c 5c 29 20 69 6e 20 66 |\([0-9]*|\\) in f|
|000000d0| 69 6c 65 20 5c 22 5c 5c | 28 5b 5e 5c 22 5d 2a 5c |ile \"\\|([^\"]*\|
|000000e0| 5c 29 5c 22 22 20 22 5c | 0a 52 65 67 65 78 70 20 |\)\"" "\|.Regexp |
|000000f0| 6f 66 20 70 61 74 74 65 | 72 6e 20 74 68 61 74 20 |of patte|rn that |
|00000100| 64 62 78 20 77 72 69 74 | 65 73 20 61 74 20 62 72 |dbx writ|es at br|
|00000110| 65 61 6b 20 70 6f 69 6e | 74 2e 22 29 0a 0a 28 64 |eak poin|t.")..(d|
|00000120| 65 66 76 61 72 20 69 6e | 66 65 72 69 6f 72 2d 64 |efvar in|ferior-d|
|00000130| 62 78 2d 6d 6f 64 65 2d | 6d 61 70 20 6e 69 6c 29 |bx-mode-|map nil)|
|00000140| 0a 0a 28 69 66 20 69 6e | 66 65 72 69 6f 72 2d 64 |..(if in|ferior-d|
|00000150| 62 78 2d 6d 6f 64 65 2d | 6d 61 70 20 6e 69 6c 20 |bx-mode-|map nil |
|00000160| 28 73 65 74 71 20 69 6e | 66 65 72 69 6f 72 2d 64 |(setq in|ferior-d|
|00000170| 62 78 2d 6d 6f 64 65 2d | 6d 61 70 20 28 63 6f 70 |bx-mode-|map (cop|
|00000180| 79 2d 6b 65 79 6d 61 70 | 20 73 68 65 6c 6c 2d 6d |y-keymap| shell-m|
|00000190| 6f 64 65 2d 6d 61 70 29 | 29 20 28 64 65 66 69 6e |ode-map)|) (defin|
|000001a0| 65 2d 6b 65 79 20 69 6e | 66 65 72 69 6f 72 2d 64 |e-key in|ferior-d|
|000001b0| 62 78 2d 6d 6f 64 65 2d | 6d 61 70 20 22 03 77 22 |bx-mode-|map ".w"|
|000001c0| 20 28 71 75 6f 74 65 20 | 64 62 78 2d 77 68 65 72 | (quote |dbx-wher|
|000001d0| 65 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |e)) (def|ine-key |
|000001e0| 69 6e 66 65 72 69 6f 72 | 2d 64 62 78 2d 6d 6f 64 |inferior|-dbx-mod|
|000001f0| 65 2d 6d 61 70 20 22 03 | 14 22 20 28 71 75 6f 74 |e-map ".|." (quot|
|00000200| 65 20 64 62 78 2d 74 72 | 61 63 65 2d 6d 6f 64 65 |e dbx-tr|ace-mode|
|00000210| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 63 |)) (defi|ne-key c|
|00000220| 74 6c 2d 78 2d 6d 61 70 | 20 22 00 22 20 28 71 75 |tl-x-map| "." (qu|
|00000230| 6f 74 65 20 64 62 78 2d | 73 74 6f 70 2d 61 74 29 |ote dbx-|stop-at)|
|00000240| 29 29 0a 0a 28 64 65 66 | 75 6e 20 69 6e 66 65 72 |))..(def|un infer|
|00000250| 69 6f 72 2d 64 62 78 2d | 6d 6f 64 65 20 6e 69 6c |ior-dbx-|mode nil|
|00000260| 20 22 5c 0a 4d 61 6a 6f | 72 20 6d 6f 64 65 20 66 | "\.Majo|r mode f|
|00000270| 6f 72 20 69 6e 74 65 72 | 61 63 74 69 6e 67 20 77 |or inter|acting w|
|00000280| 69 74 68 20 61 6e 20 69 | 6e 66 65 72 69 6f 72 20 |ith an i|nferior |
|00000290| 44 62 78 20 70 72 6f 63 | 65 73 73 2e 0a 0a 54 68 |Dbx proc|ess...Th|
|000002a0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6d 6d |e follow|ing comm|
|000002b0| 61 6e 64 73 20 61 72 65 | 20 61 76 61 69 6c 61 62 |ands are| availab|
|000002c0| 6c 65 3a 0a 5c 5c 7b 69 | 6e 66 65 72 69 6f 72 2d |le:.\\{i|nferior-|
|000002d0| 64 62 78 2d 6d 6f 64 65 | 2d 6d 61 70 7d 0a 0a 45 |dbx-mode|-map}..E|
|000002e0| 6e 74 72 79 20 74 6f 20 | 74 68 69 73 20 6d 6f 64 |ntry to |this mod|
|000002f0| 65 20 63 61 6c 6c 73 20 | 74 68 65 20 76 61 6c 75 |e calls |the valu|
|00000300| 65 20 6f 66 20 64 62 78 | 2d 6d 6f 64 65 2d 68 6f |e of dbx|-mode-ho|
|00000310| 6f 6b 20 77 69 74 68 20 | 6e 6f 20 61 72 67 75 6d |ok with |no argum|
|00000320| 65 6e 74 73 2c 0a 69 66 | 20 74 68 61 74 20 76 61 |ents,.if| that va|
|00000330| 6c 75 65 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 2e 20 |lue is n|on-nil. |
|00000340| 20 4c 69 6b 65 77 69 73 | 65 20 77 69 74 68 20 74 | Likewis|e with t|
|00000350| 68 65 20 76 61 6c 75 65 | 20 6f 66 20 73 68 65 6c |he value| of shel|
|00000360| 6c 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 2e 0a 64 62 78 |l-mode-h|ook..dbx|
|00000370| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 20 69 73 20 63 61 |-mode-ho|ok is ca|
|00000380| 6c 6c 65 64 20 61 66 74 | 65 72 20 73 68 65 6c 6c |lled aft|er shell|
|00000390| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 2e 0a 0a 59 6f 75 |-mode-ho|ok...You|
|000003a0| 20 63 61 6e 20 64 69 73 | 70 6c 61 79 20 74 68 65 | can dis|play the|
|000003b0| 20 64 65 62 75 67 67 69 | 6e 67 20 70 72 6f 67 72 | debuggi|ng progr|
|000003c0| 61 6d 20 69 6e 20 6f 74 | 68 65 72 20 77 69 6e 64 |am in ot|her wind|
|000003d0| 6f 77 20 61 6e 64 20 70 | 6f 69 6e 74 20 6f 75 74 |ow and p|oint out|
|000003e0| 0a 77 68 65 72 65 20 79 | 6f 75 20 61 72 65 20 6c |.where y|ou are l|
|000003f0| 6f 6f 6b 69 6e 67 20 61 | 74 20 75 73 69 6e 67 20 |ooking a|t using |
|00000400| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 5c 5c 5b 64 |the comm|and \\[d|
|00000410| 62 78 2d 77 68 65 72 65 | 5d 2e 0a 0a 5c 5c 5b 64 |bx-where|]...\\[d|
|00000420| 62 78 2d 74 72 61 63 65 | 2d 6d 6f 64 65 5d 20 74 |bx-trace|-mode] t|
|00000430| 6f 67 67 6c 65 73 20 64 | 62 78 2d 74 72 61 63 65 |oggles d|bx-trace|
|00000440| 20 6d 6f 64 65 2e 20 49 | 6e 20 64 62 78 2d 74 72 | mode. I|n dbx-tr|
|00000450| 61 63 65 20 6d 6f 64 65 | 2c 0a 64 65 62 75 67 67 |ace mode|,.debugg|
|00000460| 69 6e 67 20 70 72 6f 67 | 72 61 6d 20 69 73 20 61 |ing prog|ram is a|
|00000470| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 74 72 61 |utomatic|ally tra|
|00000480| 63 65 64 20 75 73 69 6e | 67 20 6f 75 74 70 75 74 |ced usin|g output|
|00000490| 20 66 72 6f 6d 20 64 62 | 78 2e 0a 0a 54 68 65 20 | from db|x...The |
|000004a0| 63 6f 6d 6d 61 6e 64 20 | 5c 5c 5b 64 62 78 2d 73 |command |\\[dbx-s|
|000004b0| 74 6f 70 2d 61 74 5d 20 | 73 65 74 73 20 62 72 65 |top-at] |sets bre|
|000004c0| 61 6b 20 70 6f 69 6e 74 | 20 61 74 20 63 75 72 72 |ak point| at curr|
|000004d0| 65 6e 74 20 6c 69 6e 65 | 20 6f 66 20 74 68 65 0a |ent line| of the.|
|000004e0| 70 72 6f 67 72 61 6d 20 | 69 6e 20 74 68 65 20 62 |program |in the b|
|000004f0| 75 66 66 65 72 2e 20 4d | 61 6a 6f 72 20 6d 6f 64 |uffer. M|ajor mod|
|00000500| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 62 75 |e name o|f the bu|
|00000510| 66 66 65 72 20 6d 75 73 | 74 20 62 65 20 69 6e 0a |ffer mus|t be in.|
|00000520| 64 62 78 2d 6c 61 6e 67 | 75 61 67 65 2d 6d 6f 64 |dbx-lang|uage-mod|
|00000530| 65 2d 6c 69 73 74 2e 0a | 0a 43 6f 6d 6d 61 6e 64 |e-list..|.Command|
|00000540| 73 3a 0a 0a 52 65 74 75 | 72 6e 20 61 74 20 65 6e |s:..Retu|rn at en|
|00000550| 64 20 6f 66 20 62 75 66 | 66 65 72 20 73 65 6e 64 |d of buf|fer send|
|00000560| 73 20 6c 69 6e 65 20 61 | 73 20 69 6e 70 75 74 2e |s line a|s input.|
|00000570| 0a 52 65 74 75 72 6e 20 | 6e 6f 74 20 61 74 20 65 |.Return |not at e|
|00000580| 6e 64 20 63 6f 70 69 65 | 73 20 72 65 73 74 20 6f |nd copie|s rest o|
|00000590| 66 20 6c 69 6e 65 20 74 | 6f 20 65 6e 64 20 61 6e |f line t|o end an|
|000005a0| 64 20 73 65 6e 64 73 20 | 69 74 2e 0a 5c 5c 5b 73 |d sends |it..\\[s|
|000005b0| 68 65 6c 6c 2d 73 65 6e | 64 2d 65 6f 66 5d 20 73 |hell-sen|d-eof] s|
|000005c0| 65 6e 64 73 20 65 6e 64 | 2d 6f 66 2d 66 69 6c 65 |ends end|-of-file|
|000005d0| 20 61 73 20 69 6e 70 75 | 74 2e 0a 5c 5c 5b 6b 69 | as inpu|t..\\[ki|
|000005e0| 6c 6c 2d 73 68 65 6c 6c | 2d 69 6e 70 75 74 5d 20 |ll-shell|-input] |
|000005f0| 61 6e 64 20 5c 5c 5b 62 | 61 63 6b 77 61 72 64 2d |and \\[b|ackward-|
|00000600| 6b 69 6c 6c 2d 77 6f 72 | 64 5d 20 61 72 65 20 6b |kill-wor|d] are k|
|00000610| 69 6c 6c 20 63 6f 6d 6d | 61 6e 64 73 2c 20 69 6d |ill comm|ands, im|
|00000620| 69 74 61 74 69 6e 67 20 | 6e 6f 72 6d 61 6c 20 55 |itating |normal U|
|00000630| 6e 69 78 20 69 6e 70 75 | 74 20 65 64 69 74 69 6e |nix inpu|t editin|
|00000640| 67 2e 0a 5c 5c 5b 69 6e | 74 65 72 72 75 70 74 2d |g..\\[in|terrupt-|
|00000650| 73 68 65 6c 6c 2d 73 75 | 62 6a 6f 62 5d 20 69 6e |shell-su|bjob] in|
|00000660| 74 65 72 72 75 70 74 73 | 20 74 68 65 20 73 68 65 |terrupts| the she|
|00000670| 6c 6c 20 6f 72 20 69 74 | 73 20 63 75 72 72 65 6e |ll or it|s curren|
|00000680| 74 20 73 75 62 6a 6f 62 | 20 69 66 20 61 6e 79 2e |t subjob| if any.|
|00000690| 0a 5c 5c 5b 73 74 6f 70 | 2d 73 68 65 6c 6c 2d 73 |.\\[stop|-shell-s|
|000006a0| 75 62 6a 6f 62 5d 20 73 | 74 6f 70 73 2c 20 6c 69 |ubjob] s|tops, li|
|000006b0| 6b 65 77 69 73 65 2e 20 | 5c 5c 5b 71 75 69 74 2d |kewise. |\\[quit-|
|000006c0| 73 68 65 6c 6c 2d 73 75 | 62 6a 6f 62 5d 20 73 65 |shell-su|bjob] se|
|000006d0| 6e 64 73 20 71 75 69 74 | 20 73 69 67 6e 61 6c 2c |nds quit| signal,|
|000006e0| 20 6c 69 6b 65 77 69 73 | 65 2e 0a 5c 5c 5b 64 62 | likewis|e..\\[db|
|000006f0| 78 2d 77 68 65 72 65 5d | 20 64 69 73 70 6c 61 79 |x-where]| display|
|00000700| 73 20 64 65 62 75 67 67 | 69 6e 67 20 70 72 6f 67 |s debugg|ing prog|
|00000710| 72 61 6d 20 69 6e 20 6f | 74 68 65 72 20 77 69 6e |ram in o|ther win|
|00000720| 64 6f 77 20 61 6e 64 0a | 20 70 6f 69 6e 74 73 20 |dow and.| points |
|00000730| 6f 75 74 20 77 68 65 72 | 65 20 79 6f 75 20 61 72 |out wher|e you ar|
|00000740| 65 20 6c 6f 6f 6b 69 6e | 67 20 61 74 2e 0a 5c 5c |e lookin|g at..\\|
|00000750| 5b 64 62 78 2d 74 72 61 | 63 65 2d 6d 6f 64 65 5d |[dbx-tra|ce-mode]|
|00000760| 20 74 6f 67 67 6c 65 73 | 20 64 62 78 2d 74 72 61 | toggles| dbx-tra|
|00000770| 63 65 20 6d 6f 64 65 2e | 0a 5c 5c 5b 64 62 78 2d |ce mode.|.\\[dbx-|
|00000780| 73 74 6f 70 2d 61 74 5d | 20 73 65 74 73 20 62 72 |stop-at]| sets br|
|00000790| 65 61 6b 20 70 6f 69 6e | 74 20 61 74 20 63 75 72 |eak poin|t at cur|
|000007a0| 72 65 6e 74 20 6c 69 6e | 65 2e 22 20 28 69 6e 74 |rent lin|e." (int|
|000007b0| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|000007c0| 63 6f 64 65 20 22 c7 88 | ca 20 88 cb 89 10 88 cc |code "..|. ......|
|000007d0| 89 11 88 cd 89 12 88 ce | 0b 21 88 cf c4 21 88 d0 |........|.!...!..|
|000007e0| 20 89 14 88 cf c5 21 88 | d0 20 89 15 88 cf c6 21 | .....!.|. .....!|
|000007f0| 88 c7 89 16 06 88 d1 c8 | 21 88 d2 89 16 08 88 d3 |........|!.......|
|00000800| c6 0e 09 5c 22 86 48 00 | d4 0e 09 42 89 16 09 88 |...\".H.|...B....|
|00000810| d5 d6 d7 5c 22 87 22 20 | 5b 6d 61 6a 6f 72 2d 6d |...\"." |[major-m|
|00000820| 6f 64 65 20 6d 6f 64 65 | 2d 6e 61 6d 65 20 6d 6f |ode mode|-name mo|
|00000830| 64 65 2d 6c 69 6e 65 2d | 70 72 6f 63 65 73 73 20 |de-line-|process |
|00000840| 69 6e 66 65 72 69 6f 72 | 2d 64 62 78 2d 6d 6f 64 |inferior|-dbx-mod|
|00000850| 65 2d 6d 61 70 20 6c 61 | 73 74 2d 69 6e 70 75 74 |e-map la|st-input|
|00000860| 2d 73 74 61 72 74 20 6c | 61 73 74 2d 69 6e 70 75 |-start l|ast-inpu|
|00000870| 74 2d 65 6e 64 20 64 62 | 78 2d 74 72 61 63 65 2d |t-end db|x-trace-|
|00000880| 66 6c 61 67 20 6e 69 6c | 20 73 68 65 6c 6c 2d 70 |flag nil| shell-p|
|00000890| 72 6f 6d 70 74 2d 70 61 | 74 74 65 72 6e 20 6d 69 |rompt-pa|ttern mi|
|000008a0| 6e 6f 72 2d 6d 6f 64 65 | 2d 61 6c 69 73 74 20 6b |nor-mode|-alist k|
|000008b0| 69 6c 6c 2d 61 6c 6c 2d | 6c 6f 63 61 6c 2d 76 61 |ill-all-|local-va|
|000008c0| 72 69 61 62 6c 65 73 20 | 69 6e 66 65 72 69 6f 72 |riables |inferior|
|000008d0| 2d 64 62 78 2d 6d 6f 64 | 65 20 22 49 6e 66 65 72 |-dbx-mod|e "Infer|
|000008e0| 69 6f 72 20 44 62 78 22 | 20 28 22 3a 20 25 73 22 |ior Dbx"| (": %s"|
|000008f0| 29 20 75 73 65 2d 6c 6f | 63 61 6c 2d 6d 61 70 20 |) use-lo|cal-map |
|00000900| 6d 61 6b 65 2d 6c 6f 63 | 61 6c 2d 76 61 72 69 61 |make-loc|al-varia|
|00000910| 62 6c 65 20 6d 61 6b 65 | 2d 6d 61 72 6b 65 72 20 |ble make|-marker |
|00000920| 6d 61 6b 65 2d 76 61 72 | 69 61 62 6c 65 2d 62 75 |make-var|iable-bu|
|00000930| 66 66 65 72 2d 6c 6f 63 | 61 6c 20 22 5e 5b 5e 29 |ffer-loc|al "^[^)|
|00000940| 5d 2a 64 62 78 29 20 2a | 22 20 61 73 73 71 20 28 |]*dbx) *|" assq (|
|00000950| 64 62 78 2d 74 72 61 63 | 65 2d 66 6c 61 67 20 22 |dbx-trac|e-flag "|
|00000960| 20 54 72 61 63 65 22 29 | 20 72 75 6e 2d 68 6f 6f | Trace")| run-hoo|
|00000970| 6b 73 20 73 68 65 6c 6c | 2d 6d 6f 64 65 2d 68 6f |ks shell|-mode-ho|
|00000980| 6f 6b 20 64 62 78 2d 6d | 6f 64 65 2d 68 6f 6f 6b |ok dbx-m|ode-hook|
|00000990| 5d 20 31 32 29 29 0a 0a | 28 64 65 66 75 6e 20 72 |] 12))..|(defun r|
|000009a0| 75 6e 2d 64 62 78 20 28 | 70 61 74 68 29 20 22 5c |un-dbx (|path) "\|
|000009b0| 0a 52 75 6e 20 61 6e 20 | 69 6e 66 65 72 69 6f 72 |.Run an |inferior|
|000009c0| 20 44 62 78 20 70 72 6f | 63 65 73 73 2c 20 69 6e | Dbx pro|cess, in|
|000009d0| 70 75 74 20 61 6e 64 20 | 6f 75 74 70 75 74 20 76 |put and |output v|
|000009e0| 69 61 20 62 75 66 66 65 | 72 20 2a 64 62 78 2a 2e |ia buffe|r *dbx*.|
|000009f0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "|
|00000a00| 66 50 72 6f 67 72 61 6d | 20 74 6f 20 64 65 62 75 |fProgram| to debu|
|00000a10| 67 3a 20 22 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |g: ") (b|yte-code|
|00000a20| 20 22 c3 88 c5 09 21 18 | c6 c7 08 c8 51 21 88 c9 | "....!.|....Q!..|
|00000a30| 09 21 89 12 88 c6 ca cb | 08 50 cc c3 08 24 21 29 |.!......|.P...$!)|
|00000a40| 88 cd 70 21 89 14 88 ce | 0c cf 5c 22 88 d0 20 87 |..p!....|..\".. .|
|00000a50| 22 20 5b 66 69 6c 65 20 | 70 61 74 68 20 64 65 66 |" [file |path def|
|00000a60| 61 75 6c 74 2d 64 69 72 | 65 63 74 6f 72 79 20 6e |ault-dir|ectory n|
|00000a70| 69 6c 20 64 62 78 2d 70 | 72 6f 63 65 73 73 20 66 |il dbx-p|rocess f|
|00000a80| 69 6c 65 2d 6e 61 6d 65 | 2d 6e 6f 6e 64 69 72 65 |ile-name|-nondire|
|00000a90| 63 74 6f 72 79 20 73 77 | 69 74 63 68 2d 74 6f 2d |ctory sw|itch-to-|
|00000aa0| 62 75 66 66 65 72 20 22 | 2a 64 62 78 2d 22 20 22 |buffer "|*dbx-" "|
|00000ab0| 2a 22 20 66 69 6c 65 2d | 6e 61 6d 65 2d 64 69 72 |*" file-|name-dir|
|00000ac0| 65 63 74 6f 72 79 20 6d | 61 6b 65 2d 73 68 65 6c |ectory m|ake-shel|
|00000ad0| 6c 20 22 64 62 78 2d 22 | 20 22 64 62 78 22 20 67 |l "dbx-"| "dbx" g|
|00000ae0| 65 74 2d 62 75 66 66 65 | 72 2d 70 72 6f 63 65 73 |et-buffe|r-proces|
|00000af0| 73 20 73 65 74 2d 70 72 | 6f 63 65 73 73 2d 66 69 |s set-pr|ocess-fi|
|00000b00| 6c 74 65 72 20 64 62 78 | 2d 66 69 6c 74 65 72 20 |lter dbx|-filter |
|00000b10| 69 6e 66 65 72 69 6f 72 | 2d 64 62 78 2d 6d 6f 64 |inferior|-dbx-mod|
|00000b20| 65 5d 20 39 29 29 0a 0a | 28 64 65 66 75 6e 20 64 |e] 9))..|(defun d|
|00000b30| 62 78 2d 74 72 61 63 65 | 2d 6d 6f 64 65 20 28 61 |bx-trace|-mode (a|
|00000b40| 72 67 29 20 22 5c 0a 54 | 6f 67 67 6c 65 20 64 62 |rg) "\.T|oggle db|
|00000b50| 78 2d 74 72 61 63 65 20 | 6d 6f 64 65 2e 0a 57 69 |x-trace |mode..Wi|
|00000b60| 74 68 20 61 72 67 2c 20 | 74 75 72 6e 20 64 62 78 |th arg, |turn dbx|
|00000b70| 2d 74 72 61 63 65 20 6d | 6f 64 65 20 6f 6e 20 69 |-trace m|ode on i|
|00000b80| 66 66 20 61 72 67 20 69 | 73 20 70 6f 73 69 74 69 |ff arg i|s positi|
|00000b90| 76 65 2e 0a 49 6e 20 64 | 62 78 2d 74 72 61 63 65 |ve..In d|bx-trace|
|00000ba0| 20 6d 6f 64 65 2c 20 75 | 73 65 72 20 70 72 6f 67 | mode, u|ser prog|
|00000bb0| 72 61 6d 20 69 73 20 61 | 75 74 6f 6d 61 74 69 63 |ram is a|utomatic|
|00000bc0| 61 6c 6c 79 20 74 72 61 | 63 65 64 2e 22 20 28 69 |ally tra|ced." (i|
|00000bd0| 6e 74 65 72 61 63 74 69 | 76 65 20 22 50 22 29 20 |nteracti|ve "P") |
|00000be0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c3 88 08 c4 |(byte-co|de "....|
|00000bf0| 3d 3f 85 0c 00 c5 c6 21 | 88 0a 3f 83 17 00 09 3f |=?.....!|..?....?|
|00000c00| 82 1c 00 c7 0a 21 c8 56 | 89 11 88 c9 ca 20 21 87 |.....!.V|..... !.|
|00000c10| 22 20 5b 6d 61 6a 6f 72 | 2d 6d 6f 64 65 20 64 62 |" [major|-mode db|
|00000c20| 78 2d 74 72 61 63 65 2d | 66 6c 61 67 20 61 72 67 |x-trace-|flag arg|
|00000c30| 20 6e 69 6c 20 69 6e 66 | 65 72 69 6f 72 2d 64 62 | nil inf|erior-db|
|00000c40| 78 2d 6d 6f 64 65 20 65 | 72 72 6f 72 20 22 44 62 |x-mode e|rror "Db|
|00000c50| 78 2d 74 72 61 63 65 20 | 6d 6f 64 65 20 69 73 20 |x-trace |mode is |
|00000c60| 65 66 66 65 63 74 69 76 | 65 20 69 6e 20 69 6e 66 |effectiv|e in inf|
|00000c70| 65 72 69 6f 72 2d 64 62 | 78 20 6d 6f 64 65 20 6f |erior-db|x mode o|
|00000c80| 6e 6c 79 2e 22 20 70 72 | 65 66 69 78 2d 6e 75 6d |nly." pr|efix-num|
|00000c90| 65 72 69 63 2d 76 61 6c | 75 65 20 30 20 73 65 74 |eric-val|ue 0 set|
|00000ca0| 2d 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 |-buffer-|modified|
|00000cb0| 2d 70 20 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |-p buffe|r-modifi|
|00000cc0| 65 64 2d 70 5d 20 35 29 | 29 0a 0a 28 64 65 66 75 |ed-p] 5)|)..(defu|
|00000cd0| 6e 20 64 62 78 2d 66 69 | 6c 74 65 72 20 28 70 72 |n dbx-fi|lter (pr|
|00000ce0| 6f 63 65 73 73 20 73 74 | 72 69 6e 67 29 20 22 5c |ocess st|ring) "\|
|00000cf0| 0a 54 72 61 63 65 20 64 | 65 62 75 67 67 69 6e 67 |.Trace d|ebugging|
|00000d00| 20 70 72 6f 67 72 61 6d | 20 61 75 74 6f 6d 61 74 | program| automat|
|00000d10| 69 63 61 6c 6c 79 20 69 | 66 20 64 62 78 2d 74 72 |ically i|f dbx-tr|
|00000d20| 61 63 65 2d 66 6c 61 67 | 20 69 73 20 6e 6f 74 20 |ace-flag| is not |
|00000d30| 6e 69 6c 2e 22 20 28 62 | 79 74 65 2d 63 6f 64 65 |nil." (b|yte-code|
|00000d40| 20 22 8a c5 08 21 71 88 | 64 62 88 60 19 0a 63 88 | "...!q.|db.`..c.|
|00000d50| 0b 85 16 00 c6 09 c4 5c | 22 29 88 c7 08 21 85 24 |.......\|")...!.$|
|00000d60| 00 c8 c7 08 21 64 5c 22 | 29 88 c5 08 21 70 3d 85 |....!d\"|)...!p=.|
|00000d70| 30 00 64 62 87 22 20 5b | 70 72 6f 63 65 73 73 20 |0.db." [|process |
|00000d80| 62 65 67 20 73 74 72 69 | 6e 67 20 64 62 78 2d 74 |beg stri|ng dbx-t|
|00000d90| 72 61 63 65 2d 66 6c 61 | 67 20 74 20 70 72 6f 63 |race-fla|g t proc|
|00000da0| 65 73 73 2d 62 75 66 66 | 65 72 20 64 62 78 2d 77 |ess-buff|er dbx-w|
|00000db0| 68 65 72 65 20 70 72 6f | 63 65 73 73 2d 6d 61 72 |here pro|cess-mar|
|00000dc0| 6b 20 73 65 74 2d 6d 61 | 72 6b 65 72 5d 20 38 29 |k set-ma|rker] 8)|
|00000dd0| 29 0a 0a 28 64 65 66 75 | 6e 20 64 62 78 2d 77 68 |)..(defu|n dbx-wh|
|00000de0| 65 72 65 20 28 26 6f 70 | 74 69 6f 6e 61 6c 20 62 |ere (&op|tional b|
|00000df0| 65 67 69 6e 20 71 75 69 | 65 74 29 20 22 5c 0a 44 |egin qui|et) "\.D|
|00000e00| 69 73 70 6c 61 79 20 64 | 62 78 27 65 64 20 70 72 |isplay d|bx'ed pr|
|00000e10| 6f 67 72 61 6d 20 69 6e | 20 6f 74 68 65 72 20 77 |ogram in| other w|
|00000e20| 69 6e 64 6f 77 20 61 6e | 64 20 70 6f 69 6e 74 20 |indow an|d point |
|00000e30| 6f 75 74 20 77 68 65 72 | 65 20 79 6f 75 20 61 72 |out wher|e you ar|
|00000e40| 65 20 6c 6f 6f 6b 69 6e | 67 20 61 74 2e 0a 42 45 |e lookin|g at..BE|
|00000e50| 47 49 4e 20 62 6f 75 6e | 64 73 20 74 68 65 20 73 |GIN boun|ds the s|
|00000e60| 65 61 72 63 68 2e 20 49 | 66 20 51 55 49 45 54 2c |earch. I|f QUIET,|
|00000e70| 20 6a 75 73 74 20 72 65 | 74 75 72 6e 20 6e 69 6c | just re|turn nil|
|00000e80| 20 28 6e 6f 20 65 72 72 | 6f 72 29 20 69 66 20 66 | (no err|or) if f|
|00000e90| 61 69 6c 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ail." (i|nteracti|
|00000ea0| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|00000eb0| c5 88 c5 c5 19 18 8a c8 | 0a 0b 0c 23 85 24 00 c9 |........|...#.$..|
|00000ec0| ca cb 21 cc cb 21 5c 22 | 89 11 88 c9 ca cd 21 cc |..!..!\"|......!.|
|00000ed0| cd 21 5c 22 89 10 29 88 | 08 85 2b 00 09 85 58 00 |.!\"..).|..+...X.|
|00000ee0| ce cf 08 c5 5c 22 21 88 | d0 d1 09 21 21 88 d2 20 |....\"!.|...!!.. |
|00000ef0| 88 d3 89 16 06 88 0e 07 | 86 4d 00 d4 20 89 16 07 |........|.M.. ...|
|00000f00| 88 d5 0e 07 60 70 23 88 | d6 cb 21 2a 87 22 20 5b |....`p#.|..!*." [|
|00000f10| 66 69 6c 65 20 6c 69 6e | 65 20 64 62 78 2d 62 72 |file lin|e dbx-br|
|00000f20| 65 61 6b 2d 70 6f 69 6e | 74 20 62 65 67 69 6e 20 |eak-poin|t begin |
|00000f30| 71 75 69 65 74 20 6e 69 | 6c 20 6f 76 65 72 6c 61 |quiet ni|l overla|
|00000f40| 79 2d 61 72 72 6f 77 2d | 73 74 72 69 6e 67 20 6f |y-arrow-|string o|
|00000f50| 76 65 72 6c 61 79 2d 61 | 72 72 6f 77 2d 70 6f 73 |verlay-a|rrow-pos|
|00000f60| 69 74 69 6f 6e 20 72 65 | 2d 73 65 61 72 63 68 2d |ition re|-search-|
|00000f70| 62 61 63 6b 77 61 72 64 | 20 62 75 66 66 65 72 2d |backward| buffer-|
|00000f80| 73 75 62 73 74 72 69 6e | 67 20 6d 61 74 63 68 2d |substrin|g match-|
|00000f90| 62 65 67 69 6e 6e 69 6e | 67 20 31 20 6d 61 74 63 |beginnin|g 1 matc|
|00000fa0| 68 2d 65 6e 64 20 32 20 | 66 69 6e 64 2d 66 69 6c |h-end 2 |find-fil|
|00000fb0| 65 2d 6f 74 68 65 72 2d | 77 69 6e 64 6f 77 20 65 |e-other-|window e|
|00000fc0| 78 70 61 6e 64 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |xpand-fi|le-name |
|00000fd0| 67 6f 74 6f 2d 6c 69 6e | 65 20 73 74 72 69 6e 67 |goto-lin|e string|
|00000fe0| 2d 74 6f 2d 69 6e 74 20 | 62 65 67 69 6e 6e 69 6e |-to-int |beginnin|
|00000ff0| 67 2d 6f 66 2d 6c 69 6e | 65 20 22 3d 3e 22 20 6d |g-of-lin|e "=>" m|
|00001000| 61 6b 65 2d 6d 61 72 6b | 65 72 20 73 65 74 2d 6d |ake-mark|er set-m|
|00001010| 61 72 6b 65 72 20 6f 74 | 68 65 72 2d 77 69 6e 64 |arker ot|her-wind|
|00001020| 6f 77 5d 20 31 37 29 29 | 0a 0a 28 64 65 66 75 6e |ow] 17))|..(defun|
|00001030| 20 64 62 78 2d 73 74 6f | 70 2d 61 74 20 6e 69 6c | dbx-sto|p-at nil|
|00001040| 20 22 5c 0a 53 65 74 20 | 62 72 65 61 6b 20 70 6f | "\.Set |break po|
|00001050| 69 6e 74 20 61 74 20 63 | 75 72 72 65 6e 74 20 6c |int at c|urrent l|
|00001060| 69 6e 65 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ine." (i|nteracti|
|00001070| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|00001080| c4 88 c5 09 21 8c c6 20 | 88 c7 c8 60 5c 22 54 29 |....!.. |...`\"T)|
|00001090| 1a 18 c9 0b ca cb 08 cc | 0a cd 25 5c 22 2a 87 22 |........|..%\"*."|
|000010a0| 20 5b 66 69 6c 65 2d 6e | 61 6d 65 20 62 75 66 66 | [file-n|ame buff|
|000010b0| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 6c 69 6e |er-file-|name lin|
|000010c0| 65 20 64 62 78 2d 70 72 | 6f 63 65 73 73 20 6e 69 |e dbx-pr|ocess ni|
|000010d0| 6c 20 66 69 6c 65 2d 6e | 61 6d 65 2d 6e 6f 6e 64 |l file-n|ame-nond|
|000010e0| 69 72 65 63 74 6f 72 79 | 20 77 69 64 65 6e 20 63 |irectory| widen c|
|000010f0| 6f 75 6e 74 2d 6c 69 6e | 65 73 20 31 20 73 65 6e |ount-lin|es 1 sen|
|00001100| 64 2d 73 74 72 69 6e 67 | 20 63 6f 6e 63 61 74 20 |d-string| concat |
|00001110| 22 73 74 6f 70 20 61 74 | 20 5c 22 22 20 22 5c 22 |"stop at| \"" "\"|
|00001120| 3a 22 20 22 0a 22 5d 20 | 31 31 29 29 0a |:" "."] |11)). |
+--------+-------------------------+-------------------------+--------+--------+